/**
 * 
 */
package com.cloudlead.common.lang.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 对应实体的字段
 * 
 * <pre>
 * public class UserVO {
 * 	@Property(name = "userName")
 * 	private String name;
 * </pre>
 * 
 * @author dean.lu
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Property {
	/**
	 * 对应实体的字段名
	 * 
	 * @return
	 */
	String name() default "";
}
